package jhsys.mc.rs.msg;

import java.util.ArrayList;
import java.util.List;

public class UPLOADCOMPLETEREQ extends MSG {
	private String VALUE = "OK";
	private String ERRORCODE = "0";

	public UPLOADCOMPLETEREQ() {
		MSGTYPE="MSG_UPLOAD_COMPLETE_REQ";
	}
	
	public String getVALUE() {
		return VALUE;
	}

	public void setVALUE(String vALUE) {
		VALUE = vALUE;
	}

	public String getERRORCODE() {
		return ERRORCODE;
	}

	public void setERRORCODE(String eRRORCODE) {
		ERRORCODE = eRRORCODE;
	}

	public String toString(){
		StringBuffer buffer=new StringBuffer();
		buffer.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
		buffer.append("<MESSAGE Version=\""+VERSION+"\">");
		buffer.append("<HEADER MsgType=\""+MSGTYPE+"\" MsgSeq=\""+MSGSEQ+"\" />	");
		buffer.append("<SECURITY_CODE>"+SECURITY_CODE +"</SECURITY_CODE>");
		buffer.append("<RESULT Value=\""+VALUE+"\" ErrorCode=\""+ERRORCODE+"\" />");
		buffer.append("</MESSAGE>");
		return buffer.toString();
	}
}
